package com.springbootblog.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Arrays;
import java.util.Date;

/**
 * shop
 * @author 
 */
public class Shop implements Serializable {
    private Integer id;

    private String shopName;

    private String specId;

    private Integer brandId;

    private Integer modelId;

    private Integer cateId;

    private BigDecimal lowPrice;

    private BigDecimal hightPrice;

    private byte[] postage;

    private Integer repertory;

    private String weight;

    private String shopLogo;

    private Date addtime;

    private Integer clickNum;

    private Integer sortNo;

    private String shopNum;

    private byte[] del;

    private byte[] isSale;

    private Integer isNew;

    private Integer isHot;

    private Integer isTop;

    private Integer sellNum;

    private Integer cateIdThree;

    private Integer cateIdTwo;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getSpecId() {
        return specId;
    }

    public void setSpecId(String specId) {
        this.specId = specId;
    }

    public Integer getBrandId() {
        return brandId;
    }

    public void setBrandId(Integer brandId) {
        this.brandId = brandId;
    }

    public Integer getModelId() {
        return modelId;
    }

    public void setModelId(Integer modelId) {
        this.modelId = modelId;
    }

    public Integer getCateId() {
        return cateId;
    }

    public void setCateId(Integer cateId) {
        this.cateId = cateId;
    }

    public BigDecimal getLowPrice() {
        return lowPrice;
    }

    public void setLowPrice(BigDecimal lowPrice) {
        this.lowPrice = lowPrice;
    }

    public BigDecimal getHightPrice() {
        return hightPrice;
    }

    public void setHightPrice(BigDecimal hightPrice) {
        this.hightPrice = hightPrice;
    }

    public byte[] getPostage() {
        return postage;
    }

    public void setPostage(byte[] postage) {
        this.postage = postage;
    }

    public Integer getRepertory() {
        return repertory;
    }

    public void setRepertory(Integer repertory) {
        this.repertory = repertory;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getShopLogo() {
        return shopLogo;
    }

    public void setShopLogo(String shopLogo) {
        this.shopLogo = shopLogo;
    }

    public Date getAddtime() {
        return addtime;
    }

    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }

    public Integer getClickNum() {
        return clickNum;
    }

    public void setClickNum(Integer clickNum) {
        this.clickNum = clickNum;
    }

    public Integer getSortNo() {
        return sortNo;
    }

    public void setSortNo(Integer sortNo) {
        this.sortNo = sortNo;
    }

    public String getShopNum() {
        return shopNum;
    }

    public void setShopNum(String shopNum) {
        this.shopNum = shopNum;
    }

    public byte[] getDel() {
        return del;
    }

    public void setDel(byte[] del) {
        this.del = del;
    }

    public byte[] getIsSale() {
        return isSale;
    }

    public void setIsSale(byte[] isSale) {
        this.isSale = isSale;
    }

    public Integer getIsNew() {
        return isNew;
    }

    public void setIsNew(Integer isNew) {
        this.isNew = isNew;
    }

    public Integer getIsHot() {
        return isHot;
    }

    public void setIsHot(Integer isHot) {
        this.isHot = isHot;
    }

    public Integer getIsTop() {
        return isTop;
    }

    public void setIsTop(Integer isTop) {
        this.isTop = isTop;
    }

    public Integer getSellNum() {
        return sellNum;
    }

    public void setSellNum(Integer sellNum) {
        this.sellNum = sellNum;
    }

    public Integer getCateIdThree() {
        return cateIdThree;
    }

    public void setCateIdThree(Integer cateIdThree) {
        this.cateIdThree = cateIdThree;
    }

    public Integer getCateIdTwo() {
        return cateIdTwo;
    }

    public void setCateIdTwo(Integer cateIdTwo) {
        this.cateIdTwo = cateIdTwo;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Shop other = (Shop) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getShopName() == null ? other.getShopName() == null : this.getShopName().equals(other.getShopName()))
            && (this.getSpecId() == null ? other.getSpecId() == null : this.getSpecId().equals(other.getSpecId()))
            && (this.getBrandId() == null ? other.getBrandId() == null : this.getBrandId().equals(other.getBrandId()))
            && (this.getModelId() == null ? other.getModelId() == null : this.getModelId().equals(other.getModelId()))
            && (this.getCateId() == null ? other.getCateId() == null : this.getCateId().equals(other.getCateId()))
            && (this.getLowPrice() == null ? other.getLowPrice() == null : this.getLowPrice().equals(other.getLowPrice()))
            && (this.getHightPrice() == null ? other.getHightPrice() == null : this.getHightPrice().equals(other.getHightPrice()))
            && (Arrays.equals(this.getPostage(), other.getPostage()))
            && (this.getRepertory() == null ? other.getRepertory() == null : this.getRepertory().equals(other.getRepertory()))
            && (this.getWeight() == null ? other.getWeight() == null : this.getWeight().equals(other.getWeight()))
            && (this.getShopLogo() == null ? other.getShopLogo() == null : this.getShopLogo().equals(other.getShopLogo()))
            && (this.getAddtime() == null ? other.getAddtime() == null : this.getAddtime().equals(other.getAddtime()))
            && (this.getClickNum() == null ? other.getClickNum() == null : this.getClickNum().equals(other.getClickNum()))
            && (this.getSortNo() == null ? other.getSortNo() == null : this.getSortNo().equals(other.getSortNo()))
            && (this.getShopNum() == null ? other.getShopNum() == null : this.getShopNum().equals(other.getShopNum()))
            && (Arrays.equals(this.getDel(), other.getDel()))
            && (Arrays.equals(this.getIsSale(), other.getIsSale()))
            && (this.getIsNew() == null ? other.getIsNew() == null : this.getIsNew().equals(other.getIsNew()))
            && (this.getIsHot() == null ? other.getIsHot() == null : this.getIsHot().equals(other.getIsHot()))
            && (this.getIsTop() == null ? other.getIsTop() == null : this.getIsTop().equals(other.getIsTop()))
            && (this.getSellNum() == null ? other.getSellNum() == null : this.getSellNum().equals(other.getSellNum()))
            && (this.getCateIdThree() == null ? other.getCateIdThree() == null : this.getCateIdThree().equals(other.getCateIdThree()))
            && (this.getCateIdTwo() == null ? other.getCateIdTwo() == null : this.getCateIdTwo().equals(other.getCateIdTwo()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getShopName() == null) ? 0 : getShopName().hashCode());
        result = prime * result + ((getSpecId() == null) ? 0 : getSpecId().hashCode());
        result = prime * result + ((getBrandId() == null) ? 0 : getBrandId().hashCode());
        result = prime * result + ((getModelId() == null) ? 0 : getModelId().hashCode());
        result = prime * result + ((getCateId() == null) ? 0 : getCateId().hashCode());
        result = prime * result + ((getLowPrice() == null) ? 0 : getLowPrice().hashCode());
        result = prime * result + ((getHightPrice() == null) ? 0 : getHightPrice().hashCode());
        result = prime * result + (Arrays.hashCode(getPostage()));
        result = prime * result + ((getRepertory() == null) ? 0 : getRepertory().hashCode());
        result = prime * result + ((getWeight() == null) ? 0 : getWeight().hashCode());
        result = prime * result + ((getShopLogo() == null) ? 0 : getShopLogo().hashCode());
        result = prime * result + ((getAddtime() == null) ? 0 : getAddtime().hashCode());
        result = prime * result + ((getClickNum() == null) ? 0 : getClickNum().hashCode());
        result = prime * result + ((getSortNo() == null) ? 0 : getSortNo().hashCode());
        result = prime * result + ((getShopNum() == null) ? 0 : getShopNum().hashCode());
        result = prime * result + (Arrays.hashCode(getDel()));
        result = prime * result + (Arrays.hashCode(getIsSale()));
        result = prime * result + ((getIsNew() == null) ? 0 : getIsNew().hashCode());
        result = prime * result + ((getIsHot() == null) ? 0 : getIsHot().hashCode());
        result = prime * result + ((getIsTop() == null) ? 0 : getIsTop().hashCode());
        result = prime * result + ((getSellNum() == null) ? 0 : getSellNum().hashCode());
        result = prime * result + ((getCateIdThree() == null) ? 0 : getCateIdThree().hashCode());
        result = prime * result + ((getCateIdTwo() == null) ? 0 : getCateIdTwo().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", shopName=").append(shopName);
        sb.append(", specId=").append(specId);
        sb.append(", brandId=").append(brandId);
        sb.append(", modelId=").append(modelId);
        sb.append(", cateId=").append(cateId);
        sb.append(", lowPrice=").append(lowPrice);
        sb.append(", hightPrice=").append(hightPrice);
        sb.append(", postage=").append(postage);
        sb.append(", repertory=").append(repertory);
        sb.append(", weight=").append(weight);
        sb.append(", shopLogo=").append(shopLogo);
        sb.append(", addtime=").append(addtime);
        sb.append(", clickNum=").append(clickNum);
        sb.append(", sortNo=").append(sortNo);
        sb.append(", shopNum=").append(shopNum);
        sb.append(", del=").append(del);
        sb.append(", isSale=").append(isSale);
        sb.append(", isNew=").append(isNew);
        sb.append(", isHot=").append(isHot);
        sb.append(", isTop=").append(isTop);
        sb.append(", sellNum=").append(sellNum);
        sb.append(", cateIdThree=").append(cateIdThree);
        sb.append(", cateIdTwo=").append(cateIdTwo);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}